﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using JOthello.Controls;
using Common.Model;

namespace JOthello.Forms
{
    public partial class WantsToPlayForm : Form
    {
        private WantsToPlayControl control;
        
        #region getter / setter

        public PictureBox PbxSpielerBild
        {
            get
            {
                return pbxSpielerBild;
            }
            set
            {
                pbxSpielerBild = value;
            }
        }
        public Label LblHerausforderung
        {
            get
            {
                return lblHerausforderung;
            }
            set
            {
                lblHerausforderung = value;
            }
        }
        public Button BtnAccept
        {
            get
            {
                return btnAccept;
            }
            set
            {
                btnAccept = value;
            }
        }
        public Button BtnDecline
        {
            get
            {
                return btnDecline;
            }
            set
            {
                btnDecline = value;
            }
        }
        #endregion

        public WantsToPlayForm(CSpieler gegner)
        {
            InitializeComponent();

            this.Icon = Properties.Resources.icon;

            control = new WantsToPlayControl(this, gegner);
        }
    }
}
